QuickTime 2.1 introduced a new function, InvalidateMovieRegion, to use in place of the UpdateMovie function to indicate the area of a movie that needs to be redrawn.
Use the new InvalidateMovieRegion function instead of the UpdateMovie function to invalidate a small area of a movie. InvalidateMovieRegion marks all areas of the movie that intersect the invalidRgn parameter. The next time you call the MoviesTask function, the toolbox redraws the marked areas.
pascal OSErr InvalidateMovieRegion (
Movie theMovie,
RgnHandle invalidRgn);
The InvalidateMovieRegion function provides a way to invalidate a portion of the movie's area instead of its entire area, as does UpdateMovie . This allows for higher performance update handling when a movie has many tracks or covers a large area. For handling of update events, applications should continue to use UpdateMovie .
| Previous | Chapter Contents | Chapter Top | Next |